ComponentOne MultiSelect for WinForms
C1.Framework.Mathematics Namespace / Vector<T> Class / Unary Negation Operator
A Vector indicates the operand.

In This Topic
    Unary Negation Operator (Vector<T>)
    In This Topic
    Defines the unary - operator for vector.
    Syntax
    'Declaration
     
    
    Public Operator -( _
       ByVal value As Vector(Of T) _
    ) As Vector(Of T)
    public Vector<T> operator -( 
       Vector<T> value
    )

    Parameters

    value
    A Vector indicates the operand.

    Return Value

    A Vector that is the unary minus result of the operands.
    Remarks
    -(n1, n2, n3) = (-n1, -n2, -n3)
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also